package com.spic.system.api.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 290512
 * @create 2021-12-07 17:25
 */
@Data
public class HiddenTodoTask implements Serializable {
    private String id;
    private String instanceName;
    private String taskName;
    private String creator;
    private String creatorName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    private String businessType;
    private String businessKey;
    private String assignee;
    private String instanceId;
    private String formKey;
    private String taskKey;

    //流程状态
    private Integer status;

    //隐患
    private String professionalId;
    /**
     * 排查时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date checkTime;
    /**
     * 班次
     */
    private String classesType;
    /**
     * 隐患来源
     */
    private String hazardSources;
    /**
     * 隐患类型
     */
    private String hazardType;
    /**
     * 隐患等级
     */
    private String hazardLevel;
    /**
     * 系统分类
     */
    private String systemType;
    /**
     * 隐患地点 -清单项对应
     */
    private String hiddenPlace;
    /**
     * 隐患地点 -发生地点
     */
    private String hiddenPlaceAdder;
    //隐患类型 二级
    private String secondHazardType;
    /**
     * 排查人员 id
     */
    private String screeningPersonnel;
    //排查人员 name
    private String screeningPersonnelName;
    /**
     * 隐患描述
     */
    private String hiddenDescription;
    /**
     * 隐患备注
     */
    private String hiddenRemrk;
    /**
     * 隐患附件
     */
    private String hiddenAttachment;
    //文件名称
    private String fileName;
    /**
     * 整改部门
     */
    private String rectificationDept;
    /**
     * 整改人
     */
    private String rectificationPeople;
    /**
     * 整改类型
     */
    private String rectificationType;
    /**
     * 整改要求
     */
    private String rectificationRequire;
    /**
     * 整改期限
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date rectificationPeriod;
    /**
     * 整改措施
     */
    private String rectificationMeasures;
    /**
     * 整改人id
     */
    private String rectificationPeopleId;
    /**
     * 整改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date rectificationTime;
    /**
     * 延期原因
     */
    private String delayCause;
    /**
     * 验收人
     */
    private String acceptancePeople;
    /**
     * 验收时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date acceptanceTime;
    /**
     * 验收意见
     */
    private String acceptanceOpinion;
    /**
     * 销号验收人
     */
    private String eliminateAcceptancePeople;
    /**
     * 销号验收时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date eliminateAcceptanceTime;
    /**
     * 销号验收意见
     */
    private String eliminateAcceptanceOpinion;
    /**
     * 隐患状态
     */
    private String hazardStatus;

}
